<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p4_CSS显示模式</title>
</head>
<style>
    div{
        width: 100px;
        height: 100px;
        border:5px solid #f00;
        display: block;
    }
    .d2:hover{
        display: none;
    }
    span{
        background-color: #ff0;
        width: 200px;
        height: 200px;
        display: inline;
        display: block;
    }
    input,button {
        display:inline-block;
        width: 200px; height: 200px;
        background-color: lime;
    }
</style>
<body>
       <div class="d1">1111</div>
       <div class="d2">2222</div>
       <div class="d3">3333</div>
       <hr>
       <span>1234567890</span>
       <span>1234567890</span>
       <span>1234567890</span>
       <hr>
       <input type="text">
       <input type="text">
       <input type="text">
       <button>提交</button>

</body>
</html>